<?php
/**
 * User: ailuoga
 * Created Time: 2017/2/6 15:37
 * Description :
 */

namespace App\Presenter;

class UserPresenter extends Presenter
{
    public function fullName()
    {
        return $this->first . ' ' . $this->last;
    }

    public function accountAge()
    {
        return $this->created_at->diffForHumans();
    }
}